package com.mmsj;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;

/**
 * @author ChuXuan
 */
public class BatteryChangeReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        Log.d("myLog", "电量变化....");
        Toast.makeText(context, "电量变化", Toast.LENGTH_SHORT).show();
    }
}
